package com.epfresh.supplier.entity;

import java.util.List;

/**
 * Created by wzh on 2016/4/12.
 */
public class ContentEntity<T> {

    /**
     * content : [{"id":117,"title":"菠菜","level":"特级商品","price":"0.01元/箱","thumbnail":"http://7xp3p0.com2.z0.glb.qiniucdn.com/2016%2F4%2F8%2F1460353650164_%E8%8F%A0%E8%8F%9C.jpg-PRODUCTTHUMBNAIL","origin":"徐州","mark":null,"pack":"1公斤/箱","listType":1,"storeId":48},{"id":100,"title":"菠萝蜜3","level":"特级","price":"0.01元/箱","thumbnail":"http://7xp3p0.com2.z0.glb.qiniucdn.com/2016%2F4%2F6%2F1459931709766_%E8%8F%A0%E8%90%9D%E8%9C%9C1.jpg-PRODUCTTHUMBNAIL","origin":"","mark":"http://7xp3p0.com2.z0.glb.qiniucdn.com/2016%2F3%2F31%2F1459488895271_1.jpg-PRODUCTMARK","pack":"1公斤/箱","listType":1,"storeId":45}]
     * last : false
     * totalElements : 12
     * number : 0
     * size : 2
     */

    private boolean last;
    private int totalElements;
    private int number;
    private int size;
    private List<T> content;
    private List<T> banks;
    private List<T> settledDatas;
    private List<T> noticeList;
    private List<T> newNotice;
    private T result;
    private boolean isUpdate;
    private String expireString;
    private List<String> expireTime;

    public List<String> getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(List<String> expireTime) {
        this.expireTime = expireTime;
    }

    public String getExpireString() {
        return expireString;
    }

    public void setExpireString(String expireString) {
        this.expireString = expireString;
    }

    public boolean isUpdate() {
        return isUpdate;
    }

    public void setUpdate(boolean update) {
        isUpdate = update;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public List<T> getNewNotice() {
        return newNotice;
    }

    public void setNewNotice(List<T> newNotice) {
        this.newNotice = newNotice;
    }

    public List<T> getNoticeList() {
        return noticeList;
    }

    public void setNoticeList(List<T> noticeList) {
        this.noticeList = noticeList;
    }

    public List<T> getSettledDatas() {
        return settledDatas;
    }

    public void setSettledDatas(List<T> settledDatas) {
        this.settledDatas = settledDatas;
    }

    public List<T> getBanks() {
        return banks;
    }

    public void setBanks(List<T> banks) {
        this.banks = banks;
    }

    public void setLast(boolean last) {
        this.last = last;
    }

    public void setTotalElements(int totalElements) {
        this.totalElements = totalElements;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public void setContent(List<T> content) {
        this.content = content;
    }

    public boolean getLast() {
        return last;
    }

    public int getTotalElements() {
        return totalElements;
    }

    public int getNumber() {
        return number;
    }

    public int getSize() {
        return size;
    }

    public List<T> getContent() {
        return content;
    }

    @Override
    public String toString() {
        return "ContentEntity{" +
                "last=" + last +
                ", totalElements=" + totalElements +
                ", number=" + number +
                ", size=" + size +
                ", content=" + content +
                '}';
    }
}
